package com.webside.util;

import com.alibaba.fastjson.JSONArray;

public class CommonUtils {
	/**
	 * 将JsonArray 转为Object数组
	 * @param ja
	 * @return
	 */
	public static Object[] toArrays(JSONArray ja){  
	       Object[] objs = new Object[ja.size()];  
	       for (int i = 0; i < ja.size(); i++) {  
	           objs[i] = ja.get(i);  
	       }  
	       return objs;  
	}
}
